package org.hnxxxy.ebms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.hnxxxy.ebms.common.Result;
import org.hnxxxy.ebms.pojo.Daliy;
import com.baomidou.mybatisplus.extension.service.IService;
import org.hnxxxy.ebms.pojo.RecruitStu;
import org.hnxxxy.ebms.vo.DaliyVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WANGWEI
 * @since 2021-06-10
 */
public interface DaliyService extends IService<Daliy> {

    /**
     * 查询当前登录学生的日报信息
     * @return
     */
    Result<IPage<DaliyVo>> getDaliy(int page);

    Result<String> add(Daliy daliy);

    Result<IPage<DaliyVo>> getDaliyByName(String name, int page);
}
